import {NavLink} from "react-router-dom";
import React from "react";

let Header = () => (
  <nav>
    <NavLink to="/home" activeClassName="app__nav--active">首页 </NavLink>
    <NavLink to="/goods" activeClassName="app__nav--active">商品 </NavLink>
    <NavLink to="/user" activeClassName="app__nav--active">用户 </NavLink>
    <NavLink to="/lOgin" activeClassName="app__nav--active">登录 </NavLink>
    <NavLink to="/reg" activeStyle={{background: '#399'}}>注册 </NavLink>
  </nav>
);

export default Header